package com.situ.struts.action;

import com.opensymphony.xwork2.ActionSupport;
import com.situ.struts.entity.User;

public class UserAction2 extends ActionSupport {
    private User user;

   public String register() {
       System.out.println("UserAction2 register()");
       System.out.println(user);
       return SUCCESS;
   }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }
}
